<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title> API - OKRATTACHMENTFILEINFO</title>
<script src="./okrattachmentfileinfo.js"></script>
<script>
	 $(document).ready(function() {
		$('#get').click(function() {
			query_by_id($('#id').val());
		});
		$('#post').click(function() {
			saveEntity();
		});
		$('#delete').click(function() {
			deleteEntity( $('#id').val() );
		});
	});
</script>
</head>
<body>
<div style="float: left; width: 720px;">
	<div style="width: 100%;">
		<table border="1" style="width:100%">
			<tr>
				<td>id:</td>
				<td><input type="text" id="id" style="width:95%"/></td>
			</tr>
			<tr>
				<td>type:</td>
				<td>实体（OKRATTACHMENTFILEINFO）</td>
			</tr>
			<tr>
				<td colspan="2">
					<button id="get">GET</button>
					<button id="post">POST</button>
					<button id="delete">DELETE</button>
				</td>			</tr>
			<tr>
				<td colspan="2">
					<textarea id="content" style="width:97%;height:300px">{}</textarea>
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<textarea id="result" style="width:97%;height:300px">{}</textarea>
				</td>
			</tr>
		</table>
	</div>
</div>
</body>
</html>
